package com.jader.beans;

import java.io.Serializable;

public class Work implements Serializable {

	private static final long serialVersionUID = 1L;
	private int workid;
	private String picture;
	private int addressid;
	private String workname;
	private String phone;
	private String description;
	private int userid;

	public Work() {
		super();
	}

	public Work(int workid, String picture, int addressid, String workname,
			String phone, String description, int userid) {
		super();
		this.workid = workid;
		this.picture = picture;
		this.addressid = addressid;
		this.workname = workname;
		this.phone = phone;
		this.description = description;
		this.userid = userid;
	}

	public int getWorkid() {
		return workid;
	}

	public void setWorkid(int workid) {
		this.workid = workid;
	}

	public String getPicture() {
		return picture;
	}

	public void setPicture(String picture) {
		this.picture = picture;
	}

	public int getAddressid() {
		return addressid;
	}

	public void setAddressid(int addressid) {
		this.addressid = addressid;
	}

	public String getWorkname() {
		return workname;
	}

	public void setWorkname(String workname) {
		this.workname = workname;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public int getUserid() {
		return userid;
	}

	public void setUserid(int userid) {
		this.userid = userid;
	}

	@Override
	public String toString() {
		return "Work [workid=" + workid + ", picture=" + picture
				+ ", addressid=" + addressid + ", workname=" + workname
				+ ", phone=" + phone + ", description=" + description
				+ ", userid=" + userid + "]";
	}

}
